/*
 * @Description: 真实性格式设置弹窗
 * @Author: Rfan
 * @Date: 2022-10-10 20:45:23
 * @LastEditTime: 2022-10-10 20:49:38
 */

import { Form, Input, Radio, Select, Table } from 'antd';
import FormatNumber from './FormatNumber';

const { Option } = Select;

const FormatString = () => {
  return (
    <>
      <Form.Item name="atName" extra="配置字段的结构性语句">
        <Input placeholder="请设置字符结构性语句" allowClear />
      </Form.Item>
    </>
  );
};

const FormatDate = () => {
  return (
    <>
      <Form.Item>默认按年（四位）、月（6位）、日（8位）连续数字进行检测。</Form.Item>
    </>
  );
};

const FormatTime = () => {
  return (
    <>
      <Form.Item>
        <Radio.Group>
          <Radio value="normal">常规</Radio>
          <Radio value="custom">自定义</Radio>
        </Radio.Group>
      </Form.Item>
      <Form.Item>
        <Select>
          <Option value="13:30">13:30</Option>
        </Select>
      </Form.Item>
      <Form.Item>
        <Input placeholder="配置字段的结构性语句，例如：上午/下午”时“mm”分“ss”秒“" allowClear />
      </Form.Item>
    </>
  );
};

export { FormatString, FormatNumber, FormatDate, FormatTime };
